import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { DataImportComponent } from './import/import.component';
import { DataExportComponent } from './export/export.component';
import { ImportTemplateComponent } from './template/template.component';


const routes: Routes = [
    { path: '', redirectTo: '/exports', pathMatch: 'full' },
    { path: 'imports', component: DataImportComponent },
    { path: 'exports', component: DataExportComponent },
    { path: 'templates', component: ImportTemplateComponent }
];
@NgModule({
    imports: [RouterModule.forRoot(routes, { useHash: true })],
    exports: [RouterModule]
})
export class AppRoutingModule { }